class Shape {
 public void draw() {
     System.out.println("画图形");
 }
}

class Cycle extends Shape {

    @Override
    public void draw() {
        System.out.println("⚪");
    }
}

class Fish extends Shape {
    @Override
    public void draw() {
        System.out.println("🐟");
    }
}

class Triangle extends Shape {
    @Override
    public void draw() {
        System.out.println("▲");
    }
}

class Flower extends Shape {
    @Override
    public void draw() {
        System.out.println("❀");
    }
}

class Umbrella extends Shape {
    @Override
    public void draw() {
        System.out.println("🌂");
    }
}

public class Test {
    public static void main(String[] args) {
        Shape cycle = new Cycle();
        Shape fish = new Fish();
        Shape triangle = new Triangle();
        Shape flower = new Flower();
        Shape umbrella = new Umbrella();

        Shape[] shapes = {cycle,cycle,cycle,fish,triangle,flower,umbrella};

        for(Shape shape:shapes) {
            shape.draw();
        }

    }
}
